package com.spa.application.command.admin;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AdminUserAddCommand {

    @NotNull(message = "用户名必填")
    private String username;

    @NotNull(message = "请选择角色")
    private String roleId;

    @NotNull(message = "姓名必填")
    private String name;

}
